//导入包
const { Sequelize, DataTypes } = require('sequelize')

//连接数据库
const sequelize = new Sequelize('exam_system', 'root', 'root', {
    dialect: 'mysql',
    host: 'localhost',
})

module.exports = { sequelize, DataTypes };